package com.second.app.designpattern.template;

/**
 * @Author GYZ
 * <pre>
 *  模板设计模式
 * </pre>
 */
public abstract class AbstractClass {

    public void templateMethod() {
        method1();
        method2();
        method3();
    }

    protected abstract void method1();

    protected abstract void method2();

    protected abstract void method3();

}
